
#line 1 "..\freertos\croutine.c" 


























 
 
  
#line 1 "..\freertos\include\FreeRTOS.h" 


























 
 
 
 
 


 
  
#line 1 "D:\app\Keil\C251\Inc\stddef.h" 






 
 
 
 
 
 
 
 
 typedef unsigned int size_t;
 
 
 
 
 
 typedef int          ptrdiff_t;
 
 
 
#line 35 "..\freertos\include\FreeRTOS.h" 
 
 












 
  
#line 1 "\work\zevorn\freertos\freertos\include\stdint.h" 
 
 
 
 













 
 
 typedef signed char int8_t;
 typedef unsigned char uint8_t;
 typedef short int16_t;
 typedef unsigned short uint16_t;
 typedef long int32_t;
 typedef unsigned long uint32_t;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 50 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
#line 55 "..\freertos\include\FreeRTOS.h" 
 
 
#line 57 "..\freertos\include\FreeRTOS.h" 
 
 
 
  
#line 1 "..\main\FreeRTOSConfig.h" 
 
 
 
 
 
 
 
 
  
#line 1 "..\freertos\include\stdint.h" 
 
 
#line 3 "..\freertos\include\stdint.h" 
  
 













 
 
 
 
 
 
 
 
 
 
 
 
 
  
  
  
  
 
  
  
  
  
 
  
  
  
  
 
 
  
  
  
 
 
 
  
  
  
 
 
  
  
 
  
  
 
  
 
 
  
  
 
 


 
  
  
 
 
 
  
  
  
  
 
  
  
  
  
 
 
  
  
 
 
#line 9 "..\main\FreeRTOSConfig.h" 
#line 9 "..\main\FreeRTOSConfig.h" 
 
 
 
 
 
 
 
 
 
 
 
 extern void UART1_SendData(uint8_t dat);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 60 "..\freertos\include\FreeRTOS.h" 
 
 
 
  
#line 1 "\work\zevorn\freertos\freertos\include\projdefs.h" 


























 
 
 
 
 



 
 typedef void (* TaskFunction_t)( void * );
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 64 "\work\zevorn\freertos\freertos\include\projdefs.h" 
  
 
#line 66 "\work\zevorn\freertos\freertos\include\projdefs.h" 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
#line 63 "..\freertos\include\FreeRTOS.h" 
 
 
 
  
#line 1 "\work\zevorn\freertos\freertos\include\portable.h" 


























 
 


 
 
 
 
 









 
  
#line 1 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 


























 
 
 
 
 
 







 
 
 
#line 43 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
 
#line 46 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 48 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
 
#line 51 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 53 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 55 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 57 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 59 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 61 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 63 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 65 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 67 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 69 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 71 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 73 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 75 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 77 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 79 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 81 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 83 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 85 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 87 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 89 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 91 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 93 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 95 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 97 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 99 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 101 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 103 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 105 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 107 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 109 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 111 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 113 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 115 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 117 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 119 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 121 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 123 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 125 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 127 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 129 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 131 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 133 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 135 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 137 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 139 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 141 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 143 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 145 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 147 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 149 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 151 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 153 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 155 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 157 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 159 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 161 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 163 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 165 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 167 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 169 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 171 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 173 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 175 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 177 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 179 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 181 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 183 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 185 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 187 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 189 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 191 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 193 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 195 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 197 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 199 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 201 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 203 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 205 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 207 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 209 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 211 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 213 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 

 
  
  
 
 
#line 220 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 222 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 

 
  
  
 
 
#line 229 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 231 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
  
 
 
#line 235 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 237 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
  
 
 
 
#line 243 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 245 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 247 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 249 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 251 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
 
#line 254 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 256 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 258 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 260 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 262 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 264 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 266 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 268 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 270 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 272 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 274 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 276 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 278 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 280 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 282 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
  
 
#line 284 "\work\zevorn\freertos\freertos\include\deprecated_definitions.h" 
 
 
#line 46 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 



 
 
  
#line 1 "..\freertos\portable\C251\portmacro.h" 


























 
 
 
 
 
  
#line 1 "..\bsp\User\STC32G.h" 
 
 
 
 
 
 
 sfr         P0          =           0x80;
 sbit        P00         =           P0^0;
 sbit        P01         =           P0^1;
 sbit        P02         =           P0^2;
 sbit        P03         =           P0^3;
 sbit        P04         =           P0^4;
 sbit        P05         =           P0^5;
 sbit        P06         =           P0^6;
 sbit        P07         =           P0^7;
 sfr         SP          =           0x81;
 sfr         DPL         =           0x82;
 sfr         DPH         =           0x83;
 sfr         DPXL        =           0x84;
 
 sfr         SPH         =           0x85;
 
#line 23 "..\bsp\User\STC32G.h" 
 
 
#line 25 "..\bsp\User\STC32G.h" 
 sfr         PCON        =           0x87;
 sbit        SMOD        =           PCON^7;
 sbit        SMOD0       =           PCON^6;
 sbit        LVDF        =           PCON^5;
 sbit        POF         =           PCON^4;
 sbit        GF1         =           PCON^3;
 sbit        GF0         =           PCON^2;
 sbit        PD          =           PCON^1;
 sbit        IDL         =           PCON^0;
 sfr         TCON        =           0x88;
 sbit        TF1         =           TCON^7;
 sbit        TR1         =           TCON^6;
 sbit        TF0         =           TCON^5;
 sbit        TR0         =           TCON^4;
 sbit        IE1         =           TCON^3;
 sbit        IT1         =           TCON^2;
 sbit        IE0         =           TCON^1;
 sbit        IT0         =           TCON^0;
 sfr         TMOD        =           0x89;
 sfr         TL0         =           0x8a;
 sfr         TL1         =           0x8b;
 sfr         TH0         =           0x8c;
 sfr         TH1         =           0x8d;
 sfr         AUXR        =           0x8e;
 sbit        T0x12       =           AUXR^7;
 sbit        T1x12       =           AUXR^6;
 sbit        S1M0x6      =           AUXR^5;
 sbit        T2R         =           AUXR^4;
 sbit        T2CT        =           AUXR^3;
 sbit        T2x12       =           AUXR^2;
 sbit        EXTRAM      =           AUXR^1;
 sbit        S1BRT       =           AUXR^0;
 sfr         INTCLKO     =           0x8f;
 sbit        EX4         =           INTCLKO^6;
 sbit        EX3         =           INTCLKO^5;
 sbit        EX2         =           INTCLKO^4;
 sbit        T2CLKO      =           INTCLKO^2;
 sbit        T1CLKO      =           INTCLKO^1;
 sbit        T0CLKO      =           INTCLKO^0;
 sfr         P1          =           0x90;
 sbit        P10         =           P1^0;
 sbit        P11         =           P1^1;
 sbit        P12         =           P1^2;
 sbit        P13         =           P1^3;
 sbit        P14         =           P1^4;
 sbit        P15         =           P1^5;
 sbit        P16         =           P1^6;
 sbit        P17         =           P1^7;
 sfr         P1M1        =           0x91;
 sfr         P1M0        =           0x92;
 sfr         P0M1        =           0x93;
 sfr         P0M0        =           0x94;
 sfr         P2M1        =           0x95;
 sfr         P2M0        =           0x96;
 sfr         AUXR2       =           0x97;
 sbit        CANSEL      =           AUXR2^3;
 sbit        CAN2EN      =           AUXR2^2;
 sbit        CANEN       =           AUXR2^1;
 sbit        LINEN       =           AUXR2^0;
 sfr         SCON        =           0x98;
 sbit        SM0         =           SCON^7;
 sbit        SM1         =           SCON^6;
 sbit        SM2         =           SCON^5;
 sbit        REN         =           SCON^4;
 sbit        TB8         =           SCON^3;
 sbit        RB8         =           SCON^2;
 sbit        TI          =           SCON^1;
 sbit        RI          =           SCON^0;
 sfr         SBUF        =           0x99;
 sfr         S2CON       =           0x9a;
 sbit        S2SM0       =           S2CON^7;
 sbit        S2SM1       =           S2CON^6;
 sbit        S2SM2       =           S2CON^5;
 sbit        S2REN       =           S2CON^4;
 sbit        S2TB8       =           S2CON^3;
 sbit        S2RB8       =           S2CON^2;
 sbit        S2TI        =           S2CON^1;
 sbit        S2RI        =           S2CON^0;
 sfr         S2BUF       =           0x9b;
 sfr         IRCBAND     =           0x9d;
 sbit        USBCKS      =           IRCBAND^7;
 sbit        USBCKS2     =           IRCBAND^6;
 sbit        HIRCSEL1    =           IRCBAND^1;
 sbit        HIRCSEL0    =           IRCBAND^0;
 sfr         LIRTRIM     =           0x9e;
 sfr         IRTRIM      =           0x9f;
 sfr         P2          =           0xa0;
 sbit        P20         =           P2^0;
 sbit        P21         =           P2^1;
 sbit        P22         =           P2^2;
 sbit        P23         =           P2^3;
 sbit        P24         =           P2^4;
 sbit        P25         =           P2^5;
 sbit        P26         =           P2^6;
 sbit        P27         =           P2^7;
 sfr         BUS_SPEED   =           0xa1;
 sfr         P_SW1       =           0xa2;
 sbit        S1_S1       =           P_SW1^7;
 sbit        S1_S0       =           P_SW1^6;
 sbit        CAN_S1      =           P_SW1^5;
 sbit        CAN_S0      =           P_SW1^4;
 sbit        SPI_S1      =           P_SW1^3;
 sbit        SPI_S0      =           P_SW1^2;
 sbit        LIN_S1      =           P_SW1^1;
 sbit        LIN_S0      =           P_SW1^0;
 sfr         V33TRIM     =           0xa3;
 sfr         BGTRIM      =           0xa5;
 sfr         VRTRIM      =           0xa6;
 sfr         IE          =           0xa8;
 sbit        EA          =           IE^7;
 sbit        ELVD        =           IE^6;
 sbit        EADC        =           IE^5;
 sbit        ES          =           IE^4;
 sbit        ET1         =           IE^3;
 sbit        EX1         =           IE^2;
 sbit        ET0         =           IE^1;
 sbit        EX0         =           IE^0;
 sfr         SADDR       =           0xa9;
 sfr         WKTCL       =           0xaa;
 sfr         WKTCH       =           0xab;
 sfr         S3CON       =           0xac;
 sbit        S3SM0       =           S3CON^7;
 sbit        S3ST3       =           S3CON^6;
 sbit        S3SM2       =           S3CON^5;
 sbit        S3REN       =           S3CON^4;
 sbit        S3TB8       =           S3CON^3;
 sbit        S3RB8       =           S3CON^2;
 sbit        S3TI        =           S3CON^1;
 sbit        S3RI        =           S3CON^0;
 sfr         S3BUF       =           0xad;
 sfr         TA          =           0xae;
 sfr         IE2         =           0xaf;
 sbit        EUSB        =           IE2^7;
 sbit        ET4         =           IE2^6;
 sbit        ET3         =           IE2^5;
 sbit        ES4         =           IE2^4;
 sbit        ES3         =           IE2^3;
 sbit        ET2         =           IE2^2;
 sbit        ESPI        =           IE2^1;
 sbit        ES2         =           IE2^0;
 sfr         P3          =           0xb0;
 sbit        P30         =           P3^0;
 sbit        P31         =           P3^1;
 sbit        P32         =           P3^2;
 sbit        P33         =           P3^3;
 sbit        P34         =           P3^4;
 sbit        P35         =           P3^5;
 sbit        P36         =           P3^6;
 sbit        P37         =           P3^7;
 sfr         P3M1        =           0xb1;
 sfr         P3M0        =           0xb2;
 sfr         P4M1        =           0xb3;
 sfr         P4M0        =           0xb4;
 sfr         IP2         =           0xb5;
 sbit        PUSB        =           IP2^7;
 sbit        PI2C        =           IP2^6;
 sbit        PCMP        =           IP2^5;
 sbit        PX4         =           IP2^4;
 sbit        PPWMB       =           IP2^3;
 sbit        PPWMA       =           IP2^2;
 sbit        PSPI        =           IP2^1;
 sbit        PS2         =           IP2^0;
 sfr         IP2H        =           0xb6;
 sbit        PUSBH       =           IP2H^7;
 sbit        PI2CH       =           IP2H^6;
 sbit        PCMPH       =           IP2H^5;
 sbit        PX4H        =           IP2H^4;
 sbit        PPWMBH      =           IP2H^3;
 sbit        PPWMAH      =           IP2H^2;
 sbit        PSPIH       =           IP2H^1;
 sbit        PS2H        =           IP2H^0;
 sfr         IPH         =           0xb7;
 sbit        PLVDH       =           IPH^6;
 sbit        PADCH       =           IPH^5;
 sbit        PSH         =           IPH^4;
 sbit        PT1H        =           IPH^3;
 sbit        PX1H        =           IPH^2;
 sbit        PT0H        =           IPH^1;
 sbit        PX0H        =           IPH^0;
 sfr         IP          =           0xb8;
 sbit        PLVD        =           IP^6;
 sbit        PADC        =           IP^5;
 sbit        PS          =           IP^4;
 sbit        PT1         =           IP^3;
 sbit        PX1         =           IP^2;
 sbit        PT0         =           IP^1;
 sbit        PX0         =           IP^0;
 sfr         SADEN       =           0xb9;
 sfr         P_SW2       =           0xba;
 sbit        EAXFR       =           P_SW2^7;
 sbit        I2C_S1      =           P_SW2^5;
 sbit        I2C_S0      =           P_SW2^4;
 sbit        CMPO_S      =           P_SW2^3;
 sbit        S4_S        =           P_SW2^2;
 sbit        S3_S        =           P_SW2^1;
 sbit        S2_S        =           P_SW2^0;
 sfr         P_SW3       =           0xbb;
 sbit        I2S_S1      =           P_SW3^7;
 sbit        I2S_S0      =           P_SW3^6;
 sbit        S2SPI_S1    =           P_SW3^5;
 sbit        S2SPI_S0    =           P_SW3^4;
 sbit        S1SPI_S1    =           P_SW3^3;
 sbit        S1SPI_S0    =           P_SW3^2;
 sbit        CAN2_S1     =           P_SW3^1;
 sbit        CAN2_S0     =           P_SW3^0;
 sfr         ADC_CONTR   =           0xbc;
 sbit        ADC_POWER   =           ADC_CONTR^7;
 sbit        ADC_START   =           ADC_CONTR^6;
 sbit        ADC_FLAG    =           ADC_CONTR^5;
 sbit        ADC_EPWMT   =           ADC_CONTR^4;
 sfr         ADC_RES     =           0xbd;
 sfr         ADC_RESL    =           0xbe;
 sfr         P4          =           0xc0;
 sbit        P40         =           P4^0;
 sbit        P41         =           P4^1;
 sbit        P42         =           P4^2;
 sbit        P43         =           P4^3;
 sbit        P44         =           P4^4;
 sbit        P45         =           P4^5;
 sbit        P46         =           P4^6;
 sbit        P47         =           P4^7;
 sfr         WDT_CONTR   =           0xc1;
 sbit        WDT_FLAG    =           WDT_CONTR^7;
 sbit        EN_WDT      =           WDT_CONTR^5;
 sbit        CLR_WDT     =           WDT_CONTR^4;
 sbit        IDL_WDT     =           WDT_CONTR^3;
 sfr         IAP_DATA    =           0xc2;
 sfr         IAP_ADDRH   =           0xc3;
 sfr         IAP_ADDRL   =           0xc4;
 sfr         IAP_CMD     =           0xc5;
 sfr         IAP_TRIG    =           0xc6;
 sfr         IAP_CONTR   =           0xc7;
 sfr         P5          =           0xc8;
 sbit        P50         =           P5^0;
 sbit        P51         =           P5^1;
 sbit        P52         =           P5^2;
 sbit        P53         =           P5^3;
 sbit        P54         =           P5^4;
 sbit        P55         =           P5^5;
 sbit        P56         =           P5^6;
 sbit        P57         =           P5^7;
 sfr         P5M1        =           0xc9;
 sfr         P5M0        =           0xca;
 sfr         P6M1        =           0xcb;
 sfr         P6M0        =           0xcc;
 sfr         SPSTAT      =           0xcd;
 sbit        SPIF        =           SPSTAT^7;
 sbit        WCOL        =           SPSTAT^6;
 sfr         SPCTL       =           0xce;
 sbit        SSIG        =           SPCTL^7;
 sbit        SPEN        =           SPCTL^6;
 sbit        DORD        =           SPCTL^5;
 sbit        MSTR        =           SPCTL^4;
 sbit        CPOL        =           SPCTL^3;
 sbit        CPHA        =           SPCTL^2;
 sbit        SPR1        =           SPCTL^1;
 sbit        SPR0        =           SPCTL^0;
 sfr         SPDAT       =           0xcf;
 sfr         PSW         =           0xd0;
 sbit        CY          =           PSW^7;
 sbit        AC          =           PSW^6;
 sbit        F0          =           PSW^5;
 sbit        RS1         =           PSW^4;
 sbit        RS0         =           PSW^3;
 sbit        OV          =           PSW^2;
 sbit        P           =           PSW^0;
 sfr         PSW1        =           0xd1;
 sfr         T4H         =           0xd2;
 sfr         T4L         =           0xd3;
 sfr         T3H         =           0xd4;
 sfr         T3L         =           0xd5;
 sfr         T2H         =           0xd6;
 sfr         T2L         =           0xd7;
 sfr         USBCLK      =           0xdc;
 sfr         T4T3M       =           0xdd;
 sbit        T4R         =           T4T3M^7;
 sbit        T4CT        =           T4T3M^6;
 sbit        T4x12       =           T4T3M^5;
 sbit        T4CLKO      =           T4T3M^4;
 sbit        T3R         =           T4T3M^3;
 sbit        T3CT        =           T4T3M^2;
 sbit        T3x12       =           T4T3M^1;
 sbit        T3CLKO      =           T4T3M^0;
 sfr         ADCCFG      =           0xde;
 sfr         IP3         =           0xdf;
 sbit        PI2S        =           IP3^3;
 sbit        PRTC        =           IP3^2;
 sbit        PS4         =           IP3^1;
 sbit        PS3         =           IP3^0;
 sfr         ACC         =           0xe0;
 sfr         P7M1        =           0xe1;
 sfr         P7M0        =           0xe2;
 sfr         DPS         =           0xe3;
 sfr         DPL1        =           0xe4;
 sfr         DPH1        =           0xe5;
 sfr         CMPCR1      =           0xe6;
 sbit        CMPEN       =           CMPCR1^7;
 sbit        CMPIF       =           CMPCR1^6;
 sbit        PIE         =           CMPCR1^5;
 sbit        NIE         =           CMPCR1^4;
 sbit        CMPOE       =           CMPCR1^1;
 sbit        CMPRES      =           CMPCR1^0;
 sfr         CMPCR2      =           0xe7;
 sbit        INVCMPO     =           CMPCR2^7;
 sbit        DISFLT      =           CMPCR2^6;
 sfr         P6          =           0xe8;
 sbit        P60         =           P6^0;
 sbit        P61         =           P6^1;
 sbit        P62         =           P6^2;
 sbit        P63         =           P6^3;
 sbit        P64         =           P6^4;
 sbit        P65         =           P6^5;
 sbit        P66         =           P6^6;
 sbit        P67         =           P6^7;
 sfr         WTST        =           0xe9;
 sfr         CKCON       =           0xea;
 sfr         MXAX        =           0xeb;
 sfr         USBDAT      =           0xec;
 sfr         DMAIR       =           0xed;
 sfr         IP3H        =           0xee;
 sbit        PI2SH       =           IP3H^3;
 sbit        PRTCH       =           IP3H^2;
 sbit        PS4H        =           IP3H^1;
 sbit        PS3H        =           IP3H^0;
 sfr         AUXINTIF    =           0xef;
 sbit        INT4IF      =           AUXINTIF^6;
 sbit        INT3IF      =           AUXINTIF^5;
 sbit        INT2IF      =           AUXINTIF^4;
 sbit        T4IF        =           AUXINTIF^2;
 sbit        T3IF        =           AUXINTIF^1;
 sbit        T2IF        =           AUXINTIF^0;
 sfr         B           =           0xf0;
 sfr         CANICR      =           0xf1;
 sbit        PCAN2H      =           CANICR^7;
 sbit        CAN2IF      =           CANICR^6;
 sbit        CAN2IE      =           CANICR^5;
 sbit        PCAN2L      =           CANICR^4;
 sbit        PCANH       =           CANICR^3;
 sbit        CANIF       =           CANICR^2;
 sbit        CANIE       =           CANICR^1;
 sbit        PCANL       =           CANICR^0;
 sfr         USBCON      =           0xf4;
 sbit        ENUSB       =           USBCON^7;
 sbit        USBRST      =           USBCON^6;
 sbit        PS2M        =           USBCON^5;
 sbit        PUEN        =           USBCON^4;
 sbit        PDEN        =           USBCON^3;
 sbit        DFREC       =           USBCON^2;
 sbit        DP          =           USBCON^1;
 sbit        DM          =           USBCON^0;
 sfr         IAP_TPS     =           0xf5;
 sfr         IAP_ADDRE   =           0xf6;
 sfr         ICHECR      =           0xf7;
 sfr         P7          =           0xf8;
 sbit        P70         =           P7^0;
 sbit        P71         =           P7^1;
 sbit        P72         =           P7^2;
 sbit        P73         =           P7^3;
 sbit        P74         =           P7^4;
 sbit        P75         =           P7^5;
 sbit        P76         =           P7^6;
 sbit        P77         =           P7^7;
 sfr         LINICR      =           0xf9;
 sbit        PLINH       =           LINICR^3;
 sbit        LINIF       =           LINICR^2;
 sbit        LINIE       =           LINICR^1;
 sbit        PLINL       =           LINICR^0;
 sfr         LINAR       =           0xfa;
 sfr         LINDR       =           0xfb;
 sfr         USBADR      =           0xfc;
 sfr         S4CON       =           0xfd;
 sbit        S4SM0       =           S4CON^7;
 sbit        S4ST4       =           S4CON^6;
 sbit        S4SM2       =           S4CON^5;
 sbit        S4REN       =           S4CON^4;
 sbit        S4TB8       =           S4CON^3;
 sbit        S4RB8       =           S4CON^2;
 sbit        S4TI        =           S4CON^1;
 sbit        S4RI        =           S4CON^0;
 sfr         S4BUF       =           0xfe;
 sfr         RSTCFG      =           0xff;
 sbit        ENLVR       =           RSTCFG^6;
 sbit        P54RST      =           RSTCFG^4;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 typedef struct TAG_PWM_STRUCT
 {
 unsigned char CR1;
 unsigned char CR2;
 unsigned char SMCR;
 unsigned char ETR;
 unsigned char IER;
 unsigned char SR1;
 unsigned char SR2;
 unsigned char EGR;
 unsigned char CCMR1;
 unsigned char CCMR2;
 unsigned char CCMR3;
 unsigned char CCMR4;
 unsigned char CCER1;
 unsigned char CCER2;
 unsigned char CNTRH;
 unsigned char CNTRL;
 unsigned char PSCRH;
 unsigned char PSCRL;
 unsigned char ARRH;
 unsigned char ARRL;
 unsigned char RCR;
 unsigned char CCR1H;
 unsigned char CCR1L;
 unsigned char CCR2H;
 unsigned char CCR2L;
 unsigned char CCR3H;
 unsigned char CCR3L;
 unsigned char CCR4H;
 unsigned char CCR4L;
 unsigned char BKR;
 unsigned char DTR;
 unsigned char OISR;
 } PWM_STRUCT;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 






 
 





 
 






 
 





 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 






 
 





 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 32 "..\freertos\portable\C251\portmacro.h" 
 
 
 
 
 
 
 
 
 
 
 








 
 
 
 
 
 
 
 
 
 
 
 typedef uint8_t StackType_t;
 typedef signed char    BaseType_t;
 typedef unsigned char  UBaseType_t;
 
 
#line 67 "..\freertos\portable\C251\portmacro.h" 
 
  
 
#line 70 "..\freertos\portable\C251\portmacro.h" 
 typedef uint32_t TickType_t;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 void vPortYield();
 
 
 
 
 
 
 
 
 
 
 
 
#line 53 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 
#line 57 "\work\zevorn\freertos\freertos\include\portable.h" 
  
 
  
 
  
 
  
 
  
 
#line 67 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
#line 69 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
#line 71 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 95 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
#line 97 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
  
#line 1 "\work\zevorn\freertos\freertos\include\mpu_wrappers.h" 


























 
 
 
 
 

 
 
#line 35 "\work\zevorn\freertos\freertos\include\mpu_wrappers.h" 
 


 
 
 






 
 
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
  
  
  
  
 
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
 
 
 
  
  
  
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
 

 
  
  
  
  
  
  
  
  
  
  
  
  
 
 


 
  
  
  
 
 
 
 
  
  
  
 





 
  










 



 
  






 
 
 
 
#line 209 "\work\zevorn\freertos\freertos\include\mpu_wrappers.h" 
 
 
 
 
 
 
 
 
 
#line 99 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 





 
 
 
#line 109 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 122 "\work\zevorn\freertos\freertos\include\portable.h" 
 
#line 123 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 
 
#line 128 "\work\zevorn\freertos\freertos\include\portable.h" 
 StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
 TaskFunction_t pxCode,
 void * pvParameters ) ;
 
 
 

 
 typedef struct HeapRegion
 {
 uint8_t * pucStartAddress;
 size_t xSizeInBytes;
 } HeapRegion_t;
 
 
 
 typedef struct xHeapStats
 {
 size_t xAvailableHeapSpaceInBytes;       
 size_t xSizeOfLargestFreeBlockInBytes;   
 size_t xSizeOfSmallestFreeBlockInBytes;  
 size_t xNumberOfFreeBlocks;              
 size_t xMinimumEverFreeBytesRemaining;   
 size_t xNumberOfSuccessfulAllocations;   
 size_t xNumberOfSuccessfulFrees;         
 } HeapStats_t;
 










 
 void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions ) ;
 



 
 void vPortGetHeapStats( HeapStats_t * pxHeapStats );
 


 
 void * pvPortMalloc( size_t xSize ) ;
 void * pvPortCalloc( size_t xNum,
 size_t xSize ) ;
 void vPortFree( void * pv ) ;
 void vPortInitialiseBlocks( void ) ;
 size_t xPortGetFreeHeapSize( void ) ;
 size_t xPortGetMinimumEverFreeHeapSize( void ) ;
 
 
#line 186 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
#line 189 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 



 
 BaseType_t xPortStartScheduler( void ) ;
 




 
 void vPortEndScheduler( void ) ;
 






 
 
#line 214 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
 
 
 
#line 220 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
#line 223 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
#line 225 "\work\zevorn\freertos\freertos\include\portable.h" 
 
 
 
#line 66 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
#line 75 "..\freertos\include\FreeRTOS.h" 
  
 
#line 77 "..\freertos\include\FreeRTOS.h" 
 




 
 
 
#line 85 "..\freertos\include\FreeRTOS.h" 
 
 
#line 87 "..\freertos\include\FreeRTOS.h" 
 
 
#line 89 "..\freertos\include\FreeRTOS.h" 
 
 
#line 91 "..\freertos\include\FreeRTOS.h" 
 
 
#line 93 "..\freertos\include\FreeRTOS.h" 
 
 
#line 95 "..\freertos\include\FreeRTOS.h" 
 
 
#line 97 "..\freertos\include\FreeRTOS.h" 
 
 
#line 99 "..\freertos\include\FreeRTOS.h" 
 
 
#line 101 "..\freertos\include\FreeRTOS.h" 
 
 
#line 103 "..\freertos\include\FreeRTOS.h" 
 
 
#line 105 "..\freertos\include\FreeRTOS.h" 
 
 
#line 107 "..\freertos\include\FreeRTOS.h" 
 
 
#line 109 "..\freertos\include\FreeRTOS.h" 
 
 
#line 111 "..\freertos\include\FreeRTOS.h" 
 
 
#line 113 "..\freertos\include\FreeRTOS.h" 
  
 
#line 115 "..\freertos\include\FreeRTOS.h" 
 
 
#line 117 "..\freertos\include\FreeRTOS.h" 
  
 
#line 119 "..\freertos\include\FreeRTOS.h" 
 
 
#line 121 "..\freertos\include\FreeRTOS.h" 
  
 
#line 123 "..\freertos\include\FreeRTOS.h" 
 
 
#line 125 "..\freertos\include\FreeRTOS.h" 
  
 
#line 127 "..\freertos\include\FreeRTOS.h" 
 
 
#line 129 "..\freertos\include\FreeRTOS.h" 
  
 
#line 131 "..\freertos\include\FreeRTOS.h" 
 
 
#line 133 "..\freertos\include\FreeRTOS.h" 
 
 


 
 
 
 
#line 141 "..\freertos\include\FreeRTOS.h" 
 
 
 
 




 
 
 
 
 
 
#line 155 "..\freertos\include\FreeRTOS.h" 
  
 
#line 157 "..\freertos\include\FreeRTOS.h" 
 
 
#line 159 "..\freertos\include\FreeRTOS.h" 
  
 
#line 161 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 191 "..\freertos\include\FreeRTOS.h" 
  
 
#line 193 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 199 "..\freertos\include\FreeRTOS.h" 
  
 
#line 201 "..\freertos\include\FreeRTOS.h" 
 
 
#line 203 "..\freertos\include\FreeRTOS.h" 
  
 
#line 205 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 211 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
#line 215 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 221 "..\freertos\include\FreeRTOS.h" 
  
 
#line 223 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 229 "..\freertos\include\FreeRTOS.h" 
  
 
#line 231 "..\freertos\include\FreeRTOS.h" 
 
 
#line 233 "..\freertos\include\FreeRTOS.h" 
  
 
#line 235 "..\freertos\include\FreeRTOS.h" 
 
 
#line 237 "..\freertos\include\FreeRTOS.h" 
  
 
#line 239 "..\freertos\include\FreeRTOS.h" 
 
 
#line 241 "..\freertos\include\FreeRTOS.h" 
  
 
#line 243 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
#line 253 "..\freertos\include\FreeRTOS.h" 
  
 
#line 255 "..\freertos\include\FreeRTOS.h" 
 
 
#line 257 "..\freertos\include\FreeRTOS.h" 
  
 
#line 259 "..\freertos\include\FreeRTOS.h" 
 
 
#line 261 "..\freertos\include\FreeRTOS.h" 
 
 
#line 263 "..\freertos\include\FreeRTOS.h" 
 
 
#line 265 "..\freertos\include\FreeRTOS.h" 
  
  
 
#line 268 "..\freertos\include\FreeRTOS.h" 
 
 
 




 
 
 
 
 
#line 280 "..\freertos\include\FreeRTOS.h" 
  
 
#line 282 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
#line 293 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 307 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 329 "..\freertos\include\FreeRTOS.h" 
  
 
#line 331 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 




 
 
 
 
 
 



 
 
 
 
 
 



 
 
 
 
 
 



 
 
 
 
 
 



 
 
 
 
 
#line 439 "..\freertos\include\FreeRTOS.h" 
  
 
#line 441 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 761 "..\freertos\include\FreeRTOS.h" 
  
 
#line 763 "..\freertos\include\FreeRTOS.h" 
 
 
#line 765 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
#line 777 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 783 "..\freertos\include\FreeRTOS.h" 
  
 
#line 785 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 803 "..\freertos\include\FreeRTOS.h" 
 
 
#line 805 "..\freertos\include\FreeRTOS.h" 
 
 
#line 807 "..\freertos\include\FreeRTOS.h" 
  
 
#line 809 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 823 "..\freertos\include\FreeRTOS.h" 
  
 
#line 825 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 839 "..\freertos\include\FreeRTOS.h" 
  
 
#line 841 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 847 "..\freertos\include\FreeRTOS.h" 
  
 
#line 849 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 855 "..\freertos\include\FreeRTOS.h" 
  
 
#line 857 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 871 "..\freertos\include\FreeRTOS.h" 
  
 
#line 873 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 879 "..\freertos\include\FreeRTOS.h" 
  
 
#line 881 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
#line 887 "..\freertos\include\FreeRTOS.h" 
 
 
#line 889 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 904 "..\freertos\include\FreeRTOS.h" 
 
  
 
#line 907 "..\freertos\include\FreeRTOS.h" 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 
 


 
 
 
 
 
 
#line 933 "..\freertos\include\FreeRTOS.h" 
 
 
#line 935 "..\freertos\include\FreeRTOS.h" 
 
 
#line 937 "..\freertos\include\FreeRTOS.h" 
 
 
#line 939 "..\freertos\include\FreeRTOS.h" 
 
 
 
 
 
 
 


 
 
 
 
 
 
#line 954 "..\freertos\include\FreeRTOS.h" 
 

 
  
  
  
  
 
#line 962 "..\freertos\include\FreeRTOS.h" 
 

 
 
 
 
 
 
 









 
 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
#line 1033 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1035 "..\freertos\include\FreeRTOS.h" 
 



 
 
 
 
 

 
 
 
 
 

 
 
 
 
 

 
 
 
 
 

 
 
 
 
 
 
 
 
 
 









































 
 


 









 
 
 struct xSTATIC_LIST_ITEM
 {
 
#line 1133 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1135 "..\freertos\include\FreeRTOS.h" 
 TickType_t xDummy2;
 void * pvDummy3[ 4 ];
 
#line 1138 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1140 "..\freertos\include\FreeRTOS.h" 
 };
 typedef struct xSTATIC_LIST_ITEM StaticListItem_t;
 
 
 
 struct xSTATIC_MINI_LIST_ITEM
 {
 
#line 1148 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1150 "..\freertos\include\FreeRTOS.h" 
 TickType_t xDummy2;
 void * pvDummy3[ 2 ];
 };
 typedef struct xSTATIC_MINI_LIST_ITEM StaticMiniListItem_t;
 
#line 1155 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1157 "..\freertos\include\FreeRTOS.h" 
 
 
 typedef struct xSTATIC_LIST
 {
 
#line 1162 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1164 "..\freertos\include\FreeRTOS.h" 
 UBaseType_t uxDummy2;
 void * pvDummy3;
 StaticMiniListItem_t xDummy4;
 
#line 1168 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1170 "..\freertos\include\FreeRTOS.h" 
 } StaticList_t;
 












 
 typedef struct xSTATIC_TCB
 {
 void * pxDummy1;
 
#line 1189 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1191 "..\freertos\include\FreeRTOS.h" 
 StaticListItem_t xDummy3[ 2 ];
 UBaseType_t uxDummy5;
 void * pxDummy6;
 uint8_t ucDummy7[ (16) ];
 
 void * pxDummy8;
 
 
#line 1199 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1201 "..\freertos\include\FreeRTOS.h" 
 
#line 1202 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1204 "..\freertos\include\FreeRTOS.h" 
 
 UBaseType_t uxDummy12[ 2 ];
 
 
#line 1208 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1210 "..\freertos\include\FreeRTOS.h" 
 
#line 1211 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1213 "..\freertos\include\FreeRTOS.h" 
 
#line 1214 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1216 "..\freertos\include\FreeRTOS.h" 
 
#line 1217 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1219 "..\freertos\include\FreeRTOS.h" 
 
 uint32_t ulDummy18[ 1 ];
 uint8_t ucDummy19[ 1 ];
 
 
#line 1224 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1226 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1228 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1230 "..\freertos\include\FreeRTOS.h" 
 
#line 1231 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1233 "..\freertos\include\FreeRTOS.h" 
 } StaticTask_t;
 













 
 typedef struct xSTATIC_QUEUE
 {
 void * pvDummy1[ 3 ];
 
 union
 {
 void * pvDummy2;
 UBaseType_t uxDummy2;
 } u;
 
 StaticList_t xDummy3[ 2 ];
 UBaseType_t uxDummy4[ 3 ];
 uint8_t ucDummy5[ 2 ];
 
 
#line 1264 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1266 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1268 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1270 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1272 "..\freertos\include\FreeRTOS.h" 
 
 
 
#line 1275 "..\freertos\include\FreeRTOS.h" 
 } StaticQueue_t;
 typedef StaticQueue_t StaticSemaphore_t;
 













 
 typedef struct xSTATIC_EVENT_GROUP
 {
 TickType_t xDummy1;
 StaticList_t xDummy2;
 
 
#line 1298 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1300 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1302 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1304 "..\freertos\include\FreeRTOS.h" 
 } StaticEventGroup_t;
 













 
 typedef struct xSTATIC_TIMER
 {
 void * pvDummy1;
 StaticListItem_t xDummy2;
 TickType_t xDummy3;
 void * pvDummy5;
 TaskFunction_t pvDummy6;
 
#line 1328 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1330 "..\freertos\include\FreeRTOS.h" 
 uint8_t ucDummy8;
 } StaticTimer_t;
 
 













 
 typedef struct xSTATIC_STREAM_BUFFER
 {
 size_t uxDummy1[ 4 ];
 void * pvDummy2[ 3 ];
 uint8_t ucDummy3;
 
#line 1354 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1356 "..\freertos\include\FreeRTOS.h" 
 } StaticStreamBuffer_t;
 
 
 typedef StaticStreamBuffer_t StaticMessageBuffer_t;
 
 
 
#line 1363 "..\freertos\include\FreeRTOS.h" 
 
 
#line 1365 "..\freertos\include\FreeRTOS.h" 
 
 
 
#line 29 "..\freertos\croutine.c" 
 
  
#line 1 "..\freertos\include\task.h" 


























 
 
 
 
 
 
 
#line 34 "..\freertos\include\task.h" 
 
 
#line 36 "..\freertos\include\task.h" 
 
  
#line 1 "\work\zevorn\freertos\freertos\include\list.h" 


























 
 


























 
 
 
 
 
 
 
#line 62 "\work\zevorn\freertos\freertos\include\list.h" 
 
 
#line 64 "\work\zevorn\freertos\freertos\include\list.h" 
 



























 
 
 
 
 
 
 
#line 99 "\work\zevorn\freertos\freertos\include\list.h" 
 
 
#line 101 "\work\zevorn\freertos\freertos\include\list.h" 
 
 




 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 121 "\work\zevorn\freertos\freertos\include\list.h" 
 
  
  
  
  
 
 
  
  
  
  
 

 
  
  
 
#line 138 "\work\zevorn\freertos\freertos\include\list.h" 
 
 


 
 
 struct xLIST;
 struct xLIST_ITEM
 {
             
  TickType_t xItemValue;           
 struct xLIST_ITEM *  pxNext;      
 struct xLIST_ITEM *  pxPrevious;  
 void * pvOwner;                                      
 struct xLIST *  pvContainer;      
            
 };
 typedef struct xLIST_ITEM ListItem_t;                    
 
 
 struct xMINI_LIST_ITEM
 {
   
  TickType_t xItemValue;
 struct xLIST_ITEM *  pxNext;
 struct xLIST_ITEM *  pxPrevious;
 };
 typedef struct xMINI_LIST_ITEM MiniListItem_t;
 
#line 167 "\work\zevorn\freertos\freertos\include\list.h" 
 
 
#line 169 "\work\zevorn\freertos\freertos\include\list.h" 
 


 
 typedef struct xLIST
 {
        
 volatile UBaseType_t uxNumberOfItems;
 ListItem_t *  pxIndex;  
 MiniListItem_t xListEnd;                   
       
 } List_t;
 
 






 
 
 






 
 
 






 
 
 







 
 
 






 
 
 





 
 
 





 
 
 





 
 
 






 
 
 


 
 
 



















 
 











 















 
 
















 





















 
 























 















 
 
 








 
 
 





 
 
 




 
 
 









 
 void vListInitialise( List_t * const pxList ) ;
 








 
 void vListInitialiseItem( ListItem_t * const pxItem ) ;
 










 
 void vListInsert( List_t * const pxList,
 ListItem_t * const pxNewListItem ) ;
 


















 
 void vListInsertEnd( List_t * const pxList,
 ListItem_t * const pxNewListItem ) ;
 












 
 UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) ;
 
 
 
 
#line 502 "\work\zevorn\freertos\freertos\include\list.h" 
 
 
#line 504 "\work\zevorn\freertos\freertos\include\list.h" 
 
 
 
#line 37 "..\freertos\include\task.h" 
 
 
 
 
#line 41 "..\freertos\include\task.h" 
 
 
#line 43 "..\freertos\include\task.h" 
 
 


 
 






 
 
 
 
 
 

 
 
 
 
 
 
 




 
 
 









 
 struct tskTaskControlBlock;  
 typedef struct tskTaskControlBlock * TaskHandle_t;
 



 
 typedef BaseType_t (* TaskHookFunction_t)( void * );
 
 
 typedef enum
 {
 eRunning = 0,  
 eReady,        
 eBlocked,      
 eSuspended,    
 eDeleted,      
 eInvalid       
 } eTaskState;
 
 
 typedef enum
 {
 eNoAction = 0,             
 eSetBits,                  
 eIncrement,                
 eSetValueWithOverwrite,    
 eSetValueWithoutOverwrite  
 } eNotifyAction;
 


 
 typedef struct xTIME_OUT
 {
 BaseType_t xOverflowCount;
 TickType_t xTimeOnEntering;
 } TimeOut_t;
 


 
 typedef struct xMEMORY_REGION
 {
 void * pvBaseAddress;
 uint32_t ulLengthInBytes;
 uint32_t ulParameters;
 } MemoryRegion_t;
 


 
 typedef struct xTASK_PARAMETERS
 {
 TaskFunction_t pvTaskCode;
 const char * pcName;  
 uint16_t usStackDepth;
 void * pvParameters;
 UBaseType_t uxPriority;
 StackType_t * puxStackBuffer;
 MemoryRegion_t xRegions[ 1 ];
 
#line 148 "..\freertos\include\task.h" 
 
 
#line 150 "..\freertos\include\task.h" 
 } TaskParameters_t;
 

 
 typedef struct xTASK_STATUS
 {
 TaskHandle_t xHandle;                          
 const char * pcTaskName;                       
 UBaseType_t xTaskNumber;                       
 eTaskState eCurrentState;                      
 UBaseType_t uxCurrentPriority;                 
 UBaseType_t uxBasePriority;                    
 uint32_t ulRunTimeCounter;  
 StackType_t * pxStackBase;                     
 
#line 165 "..\freertos\include\task.h" 
 
 
 
#line 168 "..\freertos\include\task.h" 
 uint16_t usStackHighWaterMark;   
 } TaskStatus_t;
 
 
 typedef enum
 {
 eAbortSleep = 0,            
 eStandardSleep,             
 
 eNoTasksWaitingTimeout  
 
 } eSleepModeStatus;
 




 
 
 







 
 
 











 
 
 
 











 
 
 
 







 
 
 







 
 
 


 
 
 
 
 
 


 
 





























































































 
 
 BaseType_t xTaskCreate( TaskFunction_t pxTaskCode,
 const char * const pcName,  
 const uint16_t usStackDepth,
 void * const pvParameters,
 UBaseType_t uxPriority,
 TaskHandle_t * const pxCreatedTask ) ;
 
 











































































































 
 
#line 472 "..\freertos\include\task.h" 
 
 
 
 
 
 
 
 
#line 480 "..\freertos\include\task.h" 
 








































































 
 
#line 555 "..\freertos\include\task.h" 
 
 
 
#line 558 "..\freertos\include\task.h" 
 




















































































 
 
#line 645 "..\freertos\include\task.h" 
 
 
 
#line 648 "..\freertos\include\task.h" 
 














































 
 void vTaskAllocateMPURegions( TaskHandle_t xTask,
 const MemoryRegion_t * const pxRegions ) ;
 








































 
 void vTaskDelete( TaskHandle_t xTaskToDelete ) ;
 


 
 















































 
 void vTaskDelay( const TickType_t xTicksToDelay ) ;
 
































































 
 BaseType_t xTaskDelayUntil( TickType_t * const pxPreviousWakeTime,
 const TickType_t xTimeIncrement ) ;
 



 
 



 
 





























 
 BaseType_t xTaskAbortDelay( TaskHandle_t xTask ) ;
 














































 
 UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) ;
 







 
 UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) ;
 

















 
 eTaskState eTaskGetState( TaskHandle_t xTask ) ;
 























































 
 void vTaskGetInfo( TaskHandle_t xTask,
 TaskStatus_t * pxTaskStatus,
 BaseType_t xGetFreeStackSpace,
 eTaskState eState ) ;
 









































 
 void vTaskPrioritySet( TaskHandle_t xTask,
 UBaseType_t uxNewPriority ) ;
 


















































 
 void vTaskSuspend( TaskHandle_t xTaskToSuspend ) ;
 
















































 
 void vTaskResume( TaskHandle_t xTaskToResume ) ;
 




























 
 BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) ;
 


 
 




























 
 void vTaskStartScheduler( void ) ;
 























































 
 void vTaskEndScheduler( void ) ;
 


















































 
 void vTaskSuspendAll( void ) ;
 





















































 
 BaseType_t xTaskResumeAll( void ) ;
 


 
 










 
 TickType_t xTaskGetTickCount( void ) ;
 















 
 TickType_t xTaskGetTickCountFromISR( void ) ;
 













 
 UBaseType_t uxTaskGetNumberOfTasks( void ) ;
 












 
 char * pcTaskGetName( TaskHandle_t xTaskToQuery ) ;  
 















 
 TaskHandle_t xTaskGetHandle( const char * pcNameToQuery ) ;  
 


























 
 UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) ;
 


























 
 uint16_t uxTaskGetStackHighWaterMark2( TaskHandle_t xTask ) ;
 





 
 
 
#line 1578 "..\freertos\include\task.h" 
 









 
 
 
 









 
 
 








 
 
 
#line 1615 "..\freertos\include\task.h" 
 
 
 
#line 1618 "..\freertos\include\task.h" 
 




 
 
 
 
 
 
 
 
#line 1631 "..\freertos\include\task.h" 
 
 
#line 1633 "..\freertos\include\task.h" 
 












 
 
 
 
 
#line 1651 "..\freertos\include\task.h" 
 
 
#line 1653 "..\freertos\include\task.h" 
 







 
 
 
 
#line 1665 "..\freertos\include\task.h" 
 
 
#line 1667 "..\freertos\include\task.h" 
 












 
 
 
 
 
#line 1685 "..\freertos\include\task.h" 
 












 
 BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask,
 void * pvParameter ) ;
 






 
 TaskHandle_t xTaskGetIdleTaskHandle( void ) ;
 
































































































 
 UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray,
 const UBaseType_t uxArraySize,
 uint32_t * const pulTotalRunTime ) ;
 
















































 
 void vTaskList( char * pcWriteBuffer ) ;  
 





















































 
 void vTaskGetRunTimeStats( char * pcWriteBuffer ) ;  
 





































 
 uint32_t ulTaskGetIdleRunTimeCounter( void ) ;
 uint32_t ulTaskGetIdleRunTimePercent( void ) ;
 











































































































 
 BaseType_t xTaskGenericNotify( TaskHandle_t xTaskToNotify,
 UBaseType_t uxIndexToNotify,
 uint32_t ulValue,
 eNotifyAction eAction,
 uint32_t * pulPreviousNotificationValue ) ;
 

 

 























 
 

 

 
















































































































 
 BaseType_t xTaskGenericNotifyFromISR( TaskHandle_t xTaskToNotify,
 UBaseType_t uxIndexToNotify,
 uint32_t ulValue,
 eNotifyAction eAction,
 uint32_t * pulPreviousNotificationValue,
 BaseType_t * pxHigherPriorityTaskWoken ) ;
 

 

 























 
 

 

 







































































































 
 BaseType_t xTaskGenericNotifyWait( UBaseType_t uxIndexToWaitOn,
 uint32_t ulBitsToClearOnEntry,
 uint32_t ulBitsToClearOnExit,
 uint32_t * pulNotificationValue,
 TickType_t xTicksToWait ) ;
 

 

 







































































 
 

 

 














































































 
 void vTaskGenericNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
 UBaseType_t uxIndexToNotify,
 BaseType_t * pxHigherPriorityTaskWoken ) ;
 

 

 

































































































 
 uint32_t ulTaskGenericNotifyTake( UBaseType_t uxIndexToWaitOn,
 BaseType_t xClearCountOnExit,
 TickType_t xTicksToWait ) ;
 

 

 
























































 
 BaseType_t xTaskGenericNotifyStateClear( TaskHandle_t xTask,
 UBaseType_t uxIndexToClear ) ;
 

 

 

























































 
 uint32_t ulTaskGenericNotifyValueClear( TaskHandle_t xTask,
 UBaseType_t uxIndexToClear,
 uint32_t ulBitsToClear ) ;
 

 

 













 
 void vTaskSetTimeOutState( TimeOut_t * const pxTimeOut ) ;
 


















































































 
 BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
 TickType_t * const pxTicksToWait ) ;
 

























 
 BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp ) ;
 
 


 
 














 
 BaseType_t xTaskIncrementTick( void ) ;
 






























 
 void vTaskPlaceOnEventList( List_t * const pxEventList,
 const TickType_t xTicksToWait ) ;
 void vTaskPlaceOnUnorderedEventList( List_t * pxEventList,
 const TickType_t xItemValue,
 const TickType_t xTicksToWait ) ;
 










 
 void vTaskPlaceOnEventListRestricted( List_t * const pxEventList,
 TickType_t xTicksToWait,
 const BaseType_t xWaitIndefinitely ) ;
 























 
 BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList ) ;
 void vTaskRemoveFromUnorderedEventList( ListItem_t * pxEventListItem,
 const TickType_t xItemValue ) ;
 







 
  void vTaskSwitchContext( void ) ;
 



 
 TickType_t uxTaskResetEventItemValue( void ) ;
 


 
 TaskHandle_t xTaskGetCurrentTaskHandle( void ) ;
 



 
 void vTaskMissedYield( void ) ;
 



 
 BaseType_t xTaskGetSchedulerState( void ) ;
 



 
 BaseType_t xTaskPriorityInherit( TaskHandle_t const pxMutexHolder ) ;
 



 
 BaseType_t xTaskPriorityDisinherit( TaskHandle_t const pxMutexHolder ) ;
 







 
 void vTaskPriorityDisinheritAfterTimeout( TaskHandle_t const pxMutexHolder,
 UBaseType_t uxHighestPriorityWaitingTask ) ;
 


 
 UBaseType_t uxTaskGetTaskNumber( TaskHandle_t xTask ) ;
 



 
 void vTaskSetTaskNumber( TaskHandle_t xTask,
 const UBaseType_t uxHandle ) ;
 







 
 void vTaskStepTick( TickType_t xTicksToJump ) ;
 













 
 eSleepModeStatus eTaskConfirmSleepModeStatus( void ) ;
 



 
 TaskHandle_t pvTaskIncrementMutexHeldCount( void ) ;
 



 
 void vTaskInternalSetTimeOutState( TimeOut_t * const pxTimeOut ) ;
 
 
 
 
#line 3115 "..\freertos\include\task.h" 
 
 
#line 3117 "..\freertos\include\task.h" 
 
 
#line 30 "..\freertos\croutine.c" 
 
  
#line 1 "..\freertos\include\croutine.h" 


























 
 
 
 
 
 
#line 33 "..\freertos\include\croutine.h" 
 
 
#line 35 "..\freertos\include\croutine.h" 
 
  
#line 1 "\work\zevorn\freertos\freertos\include\list.h" 


























 
 


























 
 
 
 
#line 59 "\work\zevorn\freertos\freertos\include\list.h" 
  
 
 
 
 
 



























 
 
  
 
 
 
 
 
 
 
 




 
 
 
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
  
 
 
  
  
  
  
 

 
  
  
 
 
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 
 
 






 
  
 






 
  
 






 
  
 







 
  
 






 
  
 





 
  
 





 
  
 





 
  
 






 
  
 


 
  
 



















 
  











 















 
  
















 





















 
  























 















 
  
 








 
  
 





 
  
 




 
  
 









 
 
 








 
 
 










 
 
 
 


















 
 
 
 












 
 
 
 
 
 
 
 
 
 
 
#line 36 "..\freertos\include\croutine.h" 
#line 36 "..\freertos\include\croutine.h" 
 
 
 
 
#line 40 "..\freertos\include\croutine.h" 
 
 
#line 42 "..\freertos\include\croutine.h" 
 
 


 
 typedef void * CoRoutineHandle_t;
 
 
 typedef void (* crCOROUTINE_CODE)( CoRoutineHandle_t,
 UBaseType_t );
 
 typedef struct corCoRoutineControlBlock
 {
 crCOROUTINE_CODE pxCoRoutineFunction;
 ListItem_t xGenericListItem;  
 ListItem_t xEventListItem;    
 UBaseType_t uxPriority;       
 UBaseType_t uxIndex;          
 uint16_t uxState;             
 } CRCB_t;                         
 








































































 
 BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
 UBaseType_t uxPriority,
 UBaseType_t uxIndex );
 
 







































 
 void vCoRoutineSchedule( void );
 






























 
 


 






























 
 
 



 
 


 


 















































 
 





 




















































































 
 













 














































































 
 













 































































































 
 

 
 















































































































 
 

 








 
 void vCoRoutineAddToDelayedList( TickType_t xTicksToDelay,
 List_t * pxEventList );
 






 
 BaseType_t xCoRoutineRemoveFromEventList( const List_t * pxEventList );
 
 
 
#line 749 "..\freertos\include\croutine.h" 
 
 
#line 751 "..\freertos\include\croutine.h" 
 
 
 
#line 31 "..\freertos\croutine.c" 
 
 
 
 
#line 35 "..\freertos\croutine.c" 
 



 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 






 
  







 



 
 
 





 
 
 







 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 


 
 
 
 
 
 
 
 

 
 
 
 
 

 
 
 
 
 
 

 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 




 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#line 363 "..\freertos\croutine.c" 
